/**
 * Created by wqz806687102 on 2016/1/11.
 */
angular.module('Query').config(['$stateProvider', '$urlRouterProvider',
    function($stateProvider, $urlRouterProvider) {
        $stateProvider
            .state('index.PostsRecord', {
                url: '/PostsRecord/List',
                templateUrl: 'modules/Query/client/views/PostsRecord.client.view.html',
                controller: 'PostsRecordController',
                access: {
                    requiredAuthentication: true
                }
            })
            .state('index.SingleProduct', {
                url: '/SingleProduct/Archives',
                templateUrl: 'modules/Query/client/views/SingleProduct.client.view.html',
                controller: 'SingleProductController',
                access: {
                    requiredAuthentication: true
                }
            })
            .state('index.SingleProductStream', {
                url: '/SingleProduct/Stream',
                templateUrl: 'modules/Query/client/views/SingleProductStream.client.view.html',
                controller: 'SingleProductStreamController',
                access: {
                    requiredAuthentication: true
                }
            });
    }
]);
